package com.ctshk.rpc.bus.req;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("保存巴士API初始化设置req")
public class BusInitializationSettingsReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "供应商id不能为空")
    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @NotBlank(message = "供应商名称不能为空")
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "打包状态（1：允许打包 2：不允许打包 3：只限打包）")
    private Integer packStatus;

    @NotNull(message = "价格类型不能为空")
    @ApiModelProperty(value = "价格类型（1：加数值  2：百分比）")
    private Integer priceType;
    
    @NotNull(message = "价格不能为空")
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
    
    @NotNull(message = "负责人ID不能为空")
    @ApiModelProperty("负责人ID")
    private Long chargePersonId;
    
    @NotBlank(message = "负责人姓名不能为空")
    @ApiModelProperty("负责人姓名")
    private String chargePersonName;

}
